logs = '''
111.30.144.7 "POST /mock/login/?t=GET HTTP/1.1" 200 
111.30.144.7 "Get /mock/users/?t=POST HTTP/1.1" 200 
111.13.100.92 "Post /mock/login/ HTTP/1.1" 200 
223.88.60.88 "GET /mock/users/?t=POST HTTP/1.1" 200 
111.30.144.7 "GET /mock/users/ HTTP/1.1" 200 
'''
Asks = (SplitTxt.split(' ')[1].strip('"').upper() for SplitTxt in logs.splitlines() if len(SplitTxt) != 0)
POST = 0
GET = 0
for ask in Asks:
    if ask == 'POST':
        POST += 1
    else:
        GET += 1
print('POST\t',POST,'\nGET\t',GET)
